<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html lang="en">
	<head>
		<title>登录-课堂评价系统</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<meta name="apple-mobile-web-app-capple" content="yes">
		<meta name="apple-touch-fullscreen" content="yes">
		<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/res/css/login.css">
		<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/res/css/style.css">
		<link type="text/css" rel="stylesheet" href="<%=request.getContextPath()%>/res/css/index.css">
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.messager.js"></script>
		<script type="text/javascript" src="<%=request.getContextPath()%>/js/bootstrap.min.js"></script>
		<style>
			.login_in input[type="button"], .login_in input[type="submit"] {
				width: 100%;
				height: 35px;
				font-size: 14px;
				color: #ffffff;
				text-align: center;
				line-height: 35px;
				border: 0;
				margin-top: 25px;
				background-color: #484848;
				cursor: pointer;
			}
			
			.login_in .errorTips {
				width: 215px;
				color: red;
				margin: 10px auto;
			}
			
			.login_in input[type="text"],.login_in input[type="password"]{
				text-align: center;
			}
		</style>
	</head>
	
	<body class="login">
		<header>
			<div class="login_header">
				<div class="cat_name">登录</div>
				<div class="icons">
					<a href="javascript:void(0);" class="list_on"></a>
				</div>
			</div>
		</header>
			
		<section>
		<!--login_start  -->
		<div class="login_icon"></div>
		<div class="login_in">
			<form action="confirmLoginByPhone.action" method="post">
				<input type="hidden" id="classId" name="classId" value="${classId }">
				<input type="hidden" id="class_count" name="class_count" value="${class_count }">
				<input type="text" id="username" name="username" placeholder="输入用户名" class="g_username" onclick="cleanPH(this)" onmouseout="writePH(this)"><br/>
				<input type="password" id="password" name="password" placeholder="输入密码" class="login_pwd" onclick="cleanPH(this)" onmouseout="writePH(this)"><br/>
				<input type="submit" class="login_sbt" name="login_submit" value="登录"> 
			</form>
			<input type="button" onclick="window.history.back()" value="返回"> 
			<div id="errorTips" class="errorTips"></div>
		</div>	
		<!--login_end  -->
		<!--社交_start-->
		<div class="margin_50"></div>
		<div class="bottom_bar">
			<a href="javascript:void(0)" id="do_review" class="do_review"></a> 
			<a href="http://m.onlylady.com/" id="do_home" class="do_home"></a> 
			<a href="/login/" id="do_user" class="do_user active"></a>
		</div>
		<!--社交_end-->
		</section>
		
	
		<script type="text/javascript">
		
			window.onload = function(){
				var info = "${param.info}";
				if(info != null && info != ""){
					$.messager.alert(info);
				}
					
			}
			function cleanPH(obj){
				obj.placeholder = "";
			}
			
			function writePH(obj){
				if(null == obj.placeholder || obj.placeholder == ""){
					if(obj.id == "account"){
						obj.placeholder = "输入用户名";
					}else if(obj.id == "password"){
						obj.placeholder = "输入密码";
					}
				}
			}
		</script>
	</body>
</html>
